<div class="z-circulate-show">
    <div class="z-image-container">
        <img src="/assets/img/loading.gif" alt="z-circulate-show" class="z-image"/>
    </div>
    <ul class="z-button">
        <?php foreach ($banners as $index => $banner): ?>
            <li><a href="/assets/uploads/banner/<?php echo $banner->image; ?>"><?php echo $index + 1; ?></a></li>
        <?php endforeach; ?>
    </ul>
</div>

<ul class="little-list">
    <li>
        <img src="/assets/img/banner_about.jpg"/>
        <a href="/entry/show/<?php echo TYPE_PROFILE; ?>"><?php echo $this->lang->line('about'); ?></a>
    </li>
    <li>
        <img src="/assets/img/banner_culture.jpg"/>
        <a href="/entry/show/<?php echo TYPE_IDEA; ?>"><?php echo $this->lang->line('culture'); ?></a>
    </li>
    <li class="last">
        <img src="/assets/img/banner_job.jpg"/>
        <a href="/jobs"><?php echo $this->lang->line('home_jobs'); ?></a>
    </li>
</ul>

<div class="bottom-content">
    <div class="news">
        <div class="title">
            <a href="/entry/index/<?php echo TYPE_JOCO_TRENDS;?>"><?php echo $this->lang->line('news_title'); ?></a>
            <a href="/entry/index/<?php echo TYPE_JOCO_TRENDS;?>" class="more">MORE</a>
        </div>
        <ul class="list">
            <?php foreach ($joco_trends as $item): ?>
                <li>
                    <a href="/entry/show/<?php echo TYPE_JOCO_TRENDS; ?>/<?php echo $item->id; ?>">
                        <span class="date"><?php echo date('Y-m-d', strtotime($item->created_at)); ?></span>
                        <?php echo $item->title; ?>
                    </a>
                </li>
            <?php endforeach; ?>
            <?php foreach ($industry_trends as $item): ?>
                <li>
                    <a href="/entry/show/<?php echo TYPE_INDUSTRY_TRENDS; ?>/<?php echo $item->id; ?>">
                        <span class="date"><?php echo date('Y-m-d', strtotime($item->created_at)); ?></span>
                        <?php echo $item->title; ?>
                    </a>
                </li>
            <?php endforeach; ?>
        </ul>
        <div class="content">
            <?php if ($home_top_news_type == 1): ?>
				<a href="/entry/show/<?php echo TYPE_JOCO_TRENDS.'/'.$g_company_news->id;?>">
					<img src="/assets/uploads/setting/company-news-top.jpg" alt="Compnay News"/>
				</a>
                <p>
					<a href="/entry/show/<?php echo TYPE_JOCO_TRENDS.'/'.$g_company_news->id;?>">
						<?php echo utf8_substr(trim_html_tags($g_company_news->content), 90); ?>
					</a>
				</p>
            <?php else: ?>
				<a href="/entry/show/<?php echo TYPE_INDUSTRY_TRENDS.'/'.$g_industry_news->id;?>">
					<img src="/assets/uploads/setting/industry-news-top.jpg" alt="Industry News"/>
				</a>
                <p>
					<a href="/entry/show/<?php echo TYPE_INDUSTRY_TRENDS.'/'.$g_industry_news->id;?>">
						<?php echo utf8_substr(trim_html_tags($g_industry_news->content), 90); ?>
					</a>
				</p>
            <?php endif; ?>

        </div>
    </div>
    <div class="honor">
        <div class="title">
            <a href="/entry/show/<?php echo TYPE_HONOR; ?>"><?php echo $this->lang->line('honor_title'); ?></a>
        </div>
        <a href="/entry/show/<?php echo TYPE_HONOR; ?>">
            <img src="/assets/uploads/setting/honor-cover.jpg" alt="honor"/>
        </a>
    </div>

    <div class="project">
        <div class="title">
            <a href="/entry/index/<?php echo TYPE_LANDED_PROPERTY; ?>"><?php echo $this->lang->line('project_title'); ?></a>
        </div>
        <ul>
            <li>
                <a href="/entry/index/<?php echo TYPE_LANDED_PROPERTY; ?>" class="project-text"><?php echo $this->lang->line('real_estate_landscape'); ?></a>
                <a href="/entry/index/<?php echo TYPE_LANDED_PROPERTY; ?>" class="img">
                    <img src="/assets/uploads/setting/real-estate-landscape.jpg" alt="<?php echo $this->lang->line('real_estate_landscape'); ?>"/>
                </a>
            </li>
            <li>
                <a href="/entry/index/<?php echo TYPE_CITY; ?>" class="project-text"><?php echo $this->lang->line('city_comprehensive_projects'); ?></a>
                <a href="/entry/index/<?php echo TYPE_CITY; ?>" class="img">
                    <img src="/assets/uploads/setting/city-comprehensive-projects.jpg" alt="<?php echo $this->lang->line('city_comprehensive_projects'); ?>"/>
                </a>
            </li>
            <li>
                <a href="/entry/index/<?php echo TYPE_ROAD; ?>" class="project-text"><?php echo $this->lang->line('municipal_road'); ?></a>
                <a href="/entry/index/<?php echo TYPE_ROAD; ?>" class="img">
                    <img src="/assets/uploads/setting/municipal-road.jpg" alt="<?php echo $this->lang->line('municipal_road'); ?>"/>
                </a>
            </li>
            <li class="last">
                <a href="/entry/index/<?php echo TYPE_LIGHT; ?>" class="project-text"><?php echo $this->lang->line('lighting_projects'); ?></a>
                <a href="/entry/index/<?php echo TYPE_LIGHT; ?>" class="img">
                    <img src="/assets/uploads/setting/lighting-projects.jpg" alt="<?php echo $this->lang->line('lighting_projects'); ?>"/>
                </a>
            </li>
        </ul>
    </div>

    <div class="contact">
        <div class="title"><a href="/entry/show/<?php echo TYPE_CONTACT;?>"><?php echo $this->lang->line('contact_title'); ?></a></div>
        <p><?php echo nl2br($g_lang == 'en' ? $simple_contact->en : $simple_contact->zh); ?></p>
    </div>
    <div class="member">
        <?php echo $this->lang->line('joco_members'); ?>
        <select name="member">
            <option value="0">
                <?php echo $this->lang->line('select'); ?>
            </option>
            <?php if(isset($g_members[0])):?>
            <?php foreach($g_members as $member):?>
            <option value="<?php echo $member->link;?>">
                <?php echo $member->name;?>
            </option>
            <?php endforeach;?>
            <?php endif;?>
        </select>
    </div>
    <?php require FCPATH . 'application/views/frontend/_bottom.php'; ?>
</div>